﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;

namespace MMITWeb.Infrastructure.Extensions
{
    public static class TemplateExtensions
    {
        public static string ReadTemplateContent(this string path)
        {
            string content;
            using (var reader = new StreamReader(path))
            {
                content = reader.ReadToEnd();
            }

            return content;
        }
    }
}